package com.lkq.gms.dao;

import com.lkq.gms.entity.grade;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface gradeDao {
    //根据学生的gradeId获取成绩
    @Select("select * from stu_grade where id=#{gradeId}")
    grade getByGradeId(@Param("gradeId") Integer gradeId);
}
